﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;

namespace Mix
{
    class Program
    {
        static void Main(string[] args)
        {
           
            Function(2, "2", "hello", 2, 2.5);

            var a = 0;
            var b = int.Parse("2");

            var s = " Hello  World.";
            var delimaters = new char[] {' ', '.', ','};
            var words = s.Split(delimaters, StringSplitOptions.RemoveEmptyEntries);

            foreach (var word in words)
            {
                //if(!string.IsNullOrWhiteSpace(word))
                Console.WriteLine(word);
            }

            Debug.Assert(s.Trim() == "Hello  World.");

            Console.ReadKey();
        }

        static void Function(int a, string b, params object[] args)
        {
            for (var i = 0; i < args.Length; i++)
            {
                Console.WriteLine(args[i].ToString());
                Debug.WriteLine(args[i].ToString());
            }

            
        }
    }
}
